package cn.com.wangluotongxin.netty.event;

import io.netty.channel.Channel;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.util.Map;

@Getter
public class LoginEvent extends ApplicationEvent {

    private Channel channel;

    private Map messageMap;

    public LoginEvent(Object source, Channel channel,  Map messageMap) {
        super(source);
        this.channel = channel;
        this.messageMap = messageMap;
    }
}
